package a.f.g.a;

import a.c.e;

import java.awt.geom.Point2D.Double;
import java.util.*;

abstract class ec
  implements db
{
  private final List a = new ArrayList();
  protected d b;
  private Map c = new HashMap();
  private Map d = new HashMap();
  private Map e = new HashMap();
  private Map f = new HashMap();
  private Map h = new HashMap();
  private Map i = new HashMap();
  private Map j = new HashMap();
  private List k = new ArrayList();
  private Map l = new HashMap();
  private Map m = new HashMap();
  
  public void a(Runnable paramRunnable)
  {
    synchronized (this.a)
    {
      this.a.add(paramRunnable);
    }
  }
  
  public void a(bb parambb)
  {
    boolean bool = xb.r;
    int n = xb.q;
    synchronized (this.a)
    {
      if (!bool) {
        if (this.a.isEmpty()) {
          return;
        }
      }
      Iterator localIterator = this.a.iterator();
      while (localIterator.hasNext()) {
        try
        {
          Runnable localRunnable = (Runnable)localIterator.next();
          localIterator.remove();
          localRunnable.run();
          if ((bool) || (n != 0)) {}
        }
        catch (Exception localException)
        {
          throw new RuntimeException(localException.getMessage());
        }
      }
    }
    parambb.h().d();
  }
  
  public void a(a.c.d paramd, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (paramd == null) {
          throw new NullPointerException("Edge must not be null");
        }
      }
      this.c.put(paramd, new Double(paramDouble));
    }
  }
  
  public void a(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.d.put(parame, new Double(paramDouble));
    }
  }
  
  public void b(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.e.put(parame, new Double(paramDouble));
    }
  }
  
  public void c(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.f.put(parame, new Double(paramDouble));
    }
  }
  
  public void d(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.h.put(parame, new Double(paramDouble));
    }
  }
  
  public void e(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.i.put(parame, new Double(paramDouble));
    }
  }
  
  public void f(e parame, double paramDouble)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.j.put(parame, new Double(paramDouble));
    }
  }
  
  public void a(e parame)
  {
    synchronized (this.a)
    {
      if (!xb.r)
      {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
        this.k.add(parame);
      }
    }
  }
  
  public void a(e parame, y paramy)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.l.put(parame, paramy);
    }
  }
  
  public void a(e parame, double paramDouble1, double paramDouble2)
  {
    synchronized (this.a)
    {
      if (!xb.r) {
        if (parame == null) {
          throw new NullPointerException("Node must not be null");
        }
      }
      this.m.put(parame, new Point2D.Double(paramDouble1, paramDouble2));
    }
  }
  
  public boolean b()
  {
    synchronized (this.a)
    {
      if (!xb.r) {}
      return this.a.size() > 0;
    }
  }
  
  public boolean a()
  {
    boolean bool = xb.r;
    synchronized (this.a)
    {
      if (!bool) {
        if (this.m.isEmpty())
        {
          if (bool) {
            break label172;
          }
          if (this.i.size() <= 0)
          {
            if (bool) {
              break label172;
            }
            if (this.h.size() <= 0)
            {
              if (bool) {
                break label172;
              }
              if (this.f.size() <= 0)
              {
                if (bool) {
                  break label172;
                }
                if (this.e.size() <= 0)
                {
                  if (bool) {
                    break label172;
                  }
                  if (this.d.size() <= 0)
                  {
                    if (bool) {
                      break label172;
                    }
                    if (this.c.size() <= 0)
                    {
                      if (bool) {
                        break label172;
                      }
                      if (this.k.size() <= 0)
                      {
                        if (bool) {
                          break label172;
                        }
                        if (this.j.size() <= 0) {
                          if (bool) {
                            break label172;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      label172:
      return this.l.size() > 0;
    }
  }
  
  public void b(bb parambb)
  {
    boolean bool = xb.r;
    int n = xb.q;
    synchronized (this.a)
    {
      xb localxb = parambb.h();
      Iterator localIterator;
      Object localObject1;
      Object localObject2;
      Object localObject3;
      if (!bool) {
        if (!this.d.isEmpty())
        {
          localIterator = this.d.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            if (bool) {
              break label1210;
            }
            localObject2 = (e)((Map.Entry)localObject1).getKey();
            localObject3 = c(localxb, localObject2);
            if (n != 0) {
              break label1207;
            }
            if (localObject3 == null) {
              break;
            }
            ((xb.a_)localObject3).e(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.d.clear();
        }
      }
      if (!bool) {
        if (!this.e.isEmpty())
        {
          localIterator = this.e.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            if (bool) {
              break label1210;
            }
            localObject2 = (e)((Map.Entry)localObject1).getKey();
            localObject3 = c(localxb, localObject2);
            if (n != 0) {
              break label1207;
            }
            if (localObject3 == null) {
              break;
            }
            ((xb.a_)localObject3).f(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.e.clear();
        }
      }
      if (!bool) {
        if (!this.f.isEmpty())
        {
          localIterator = this.f.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = c(localxb, (e)((Map.Entry)localObject1).getKey());
            if (n != 0) {
              break label1207;
            }
            if (localObject2 == null) {
              break;
            }
            ((xb.a_)localObject2).a(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.f.clear();
        }
      }
      if (!bool) {
        if (!this.m.isEmpty())
        {
          localIterator = this.m.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            if (bool) {
              break label1210;
            }
            localObject2 = (e)((Map.Entry)localObject1).getKey();
            localObject3 = c(localxb, localObject2);
            if (n != 0) {
              break label1207;
            }
            if (localObject3 == null) {
              break;
            }
            Point2D.Double localDouble = (Point2D.Double)((Map.Entry)localObject1).getValue();
            ((xb.a_)localObject3).a(localDouble.x);
            ((xb.a_)localObject3).c(localDouble.y);
            if (n == 0) {
              break;
            }
          }
          this.m.clear();
        }
      }
      if (!bool) {
        if (!this.h.isEmpty())
        {
          localIterator = this.h.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = c(localxb, (e)((Map.Entry)localObject1).getKey());
            if (n != 0) {
              break label1207;
            }
            if (localObject2 == null) {
              break;
            }
            ((xb.a_)localObject2).c(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.h.clear();
        }
      }
      if (!bool) {
        if (!this.i.isEmpty())
        {
          localIterator = this.i.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = c(localxb, (e)((Map.Entry)localObject1).getKey());
            if (n != 0) {
              break label1207;
            }
            if (localObject2 == null) {
              break;
            }
            ((xb.a_)localObject2).d(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.i.clear();
        }
      }
      if (!bool) {
        if (!this.j.isEmpty())
        {
          localIterator = this.j.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = c(localxb, (e)((Map.Entry)localObject1).getKey());
            if (n != 0) {
              break label1207;
            }
            if (localObject2 == null) {
              break;
            }
            ((xb.a_)localObject2).h(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.j.clear();
        }
      }
      if (!bool) {
        if (!this.l.isEmpty())
        {
          localIterator = this.l.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = c(localxb, (e)((Map.Entry)localObject1).getKey());
            if (n != 0) {
              break label1207;
            }
            if (localObject2 == null) {
              break;
            }
            ((xb.a_)localObject2).a((y)((Map.Entry)localObject1).getValue());
            if (n == 0) {
              break;
            }
          }
          this.l.clear();
        }
      }
      if (!bool)
      {
        if (!this.c.isEmpty())
        {
          localIterator = this.c.entrySet().iterator();
          if (localIterator.hasNext()) {}
          while (bool)
          {
            localObject1 = (Map.Entry)localIterator.next();
            localObject2 = (a.c.d)((Map.Entry)localObject1).getKey();
            localObject3 = a(localxb, localObject2);
            if (n != 0) {
              break label1207;
            }
            if (localObject3 == null) {
              break;
            }
            ((xb.b_)localObject3).a(((Double)((Map.Entry)localObject1).getValue()).doubleValue());
            if (n == 0) {
              break;
            }
          }
          this.c.clear();
        }
        if (bool) {}
      }
      else if (!this.k.isEmpty())
      {
        localIterator = this.k.iterator();
        if (localIterator.hasNext()) {}
        label1207:
        label1210:
        while (bool)
        {
          localObject1 = (e)localIterator.next();
          localObject2 = c(localxb, localObject1);
          if (n != 0) {
            return;
          }
          if ((!bool) && (localObject2 == null)) {
            break;
          }
          ((xb.a_)localObject2).w();
          if (n == 0) {
            break;
          }
        }
        this.k.clear();
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.g.a.ec

 * JD-Core Version:    0.7.0.1

 */